package com.dianqiu.common.bean;

import javax.persistence.AttributeOverride;
import javax.persistence.AttributeOverrides;
import javax.persistence.Column;
import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.dianqiu.base.bean.BaseTO;

/**
 * DqUserFollowClubs entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "dq_user_follow_clubs", catalog = "dq_dev")
public class DqUserFollowClubsTO extends BaseTO implements java.io.Serializable {

	// Fields

	private DqUserFollowClubsIdTO id;

	@EmbeddedId
	@AttributeOverrides( {
			@AttributeOverride(name = "userId", column = @Column(name = "USER_ID", nullable = false, length = 13)),
			@AttributeOverride(name = "clbId", column = @Column(name = "CLB_ID", nullable = false)) })
	public DqUserFollowClubsIdTO getId() {
		return this.id;
	}

	public void setId(DqUserFollowClubsIdTO id) {
		this.id = id;
	}

}